package com.zw.pdm.module.overview.service;


import com.zw.pdm.module.overview.model.ProChgInfo;
import com.zw.pdm.module.system.mapper.IndexMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 *
 * @Author: mac
 * @Date: 2021/3/9 18:42
 */
@Service
@SuppressWarnings("all")
public class ProJectChangeService {
    @Autowired
    private IndexMapper indexMapper;

    /**
     * 变更列表查询
     * @param query
     * @return
     */
    public List<ProChgInfo> selectProjectChgInfoList(ProChgInfo query) {
        return indexMapper.selectProChgInfoList(query);
    }

    /**
     * 变更详细查询
     * @param proChangeId
     * @return
     */
    public ProChgInfo selectChangeInfoByID(Integer proChangeId) {
        return indexMapper.selectChangeInfoByID(proChangeId);
    }
}
